<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{main::head}">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="container-fluid">
    <table class="table">
        <thead>
        <tr>
            <th>
                ID
            </th>
            <th>
                名称
            </th>
            <th>
                班级
            </th>
            <th>
                创建时间
            </th>

            <th>
                操作
            </th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="ep:${examPaperList}" th:object="${ep}">
            <td th:text="*{id_paper}">
                1
            </td>
            <td th:text="*{paper_name}">
                形势与政策考试
            </td>
            <td th:text="*{id_class}">
                软件工程Java一班
            </td>
            <td th:text="${#dates.format(*{create_time},'yyyy/MM/dd')}">
                2020/9/2
            </td>
            <td>
                <a class="link-dark text-decoration-none" th:href="@{exam-paer/*{id_paper}}">
                    编辑
                </a>
            </td>
        </tr>
        </tbody>
    </table>
</div>

</body>
</html>